<?php
    if (!function_exists('request')) {
    	$mipath='../';
    	include ('../inc/config.php');
        $de_donde = '';
    }
?>
<html>
	<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Administracion: <?=$title;?></title>

    
	<script type="text/javascript" src="<?php echo URL;?>/js/jquery.min.js"></script> 
	<script type="text/javascript" src="<?php echo URL;?>/js/table_sorter/jquery.tablesorter.js"></script> 
	<link rel="stylesheet" href="<?php echo URL;?>/js/table_sorter/themes/blue/style.css" type="text/css" id="" media="print, projection, screen" />
	
    <link href="<?php echo ADMIN;?>css_admin.css"  rel="stylesheet" type="text/css"/>
    <link href="<?php echo ADMIN;?>stylesheet.css" rel="stylesheet" type="text/css"  /> 
    
    <script type="text/javascript" src="<?php echo URL;?>/js/tinybox2/tinybox.js"></script>     
    <link rel="stylesheet" href="<?php echo URL;?>/js/tinybox2/tinybox.css" type="text/css" media="screen" />   

	<!-- BootStrap -->
	<link href="<?php echo URL;?>/modules/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen"  >
	<script src="<?php echo URL;?>/modules/bootstrap/js/bootstrap.min.js"></script>
	
	
    
</head>

<body >
<div id="header" style="background: url('<?php echo ADMIN;?>img/header.png') repeat-x top left #FFF;">
	<div class="div1"><span class="title1">Website</span>|<span class="title2">ADMINISTRADOR</span></div>
    <div style="float:right;margin-top:6px;"><a href="<?php echo ADMIN;?>logout.php" title='Salir del Administrador' ><img src="<?php echo ADMIN;?>img/salir.png" border="0"/></a></div>
</div>


<table style='border:0px;width:100%; margin-right:10px; min-width:1000px; text-align:left;' cellpadding="3" cellspacing="3">
  <tbody>
  <tr>
    <td width="180" valign="top">
    <?php if( $de_donde!='login' and isset($_SESSION["admin"])){ include('include_menu.php'); } ?>        
	</td>
    
    <td style='vertical-align:top; text-align:left; margin-left:5px;'> <!--Contenido cierra en el footer-->
	